package com.lb.uts.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 记录当前存活的调度器
 * </p>
 *
 * @author cacframe
 * @since 2019-04-26
 */

public class ActiveScheduling implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 调度器地址->ip:port形式
     */
    private String ip;

    private LocalDateTime createTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "ActiveScheduling{" +
                "id='" + id + '\'' +
                ", ip='" + ip + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
